Shopglut\showcase\Swatches\Swatches D

Total Complexity 183
Dependencies 2
Dependents 1
Total lines 816
Lines of code 588
Logical lines of code 355
Comment lines 114
Methods 24
Properties 4

Methods 24

Method Rating Maintainability Complexity Lines of code
variation_attribute_custom_html()
D
25
43 138
variation_attribute_html_shop_page()
B
37 19 75
catalog_show_attr_shop_page()
A
47 14 34
inline_css()
A
48 13 28
get_product_swatches()
A
47 12 36
get_attr_term_color_image()
A
50 10 27
shopgs_ajax_add_to_cart()
A
46 9 34
get_remove_attr_class()
A
53 8 24
enqueue_scripts()
S
50 7 26
get_attr_term_label()
S
61 7 11
shortcode_functionality()
S
58 5 15
__construct()
S
56 5 15
get_attr_option_by_sorting()
S
51 4 27
get_swatches_position()
S
53 3 26
label_position_class()
S
62 4 11
get_attr_type_by_name()
S
63 4 9
requires_shop_settings()
S
71 3 6
check_theme_compatibility()
S
68 3 7
is_required_page()
S
71 2 6
shop_page_add_to_cart_args()
S
65 2 8
create_slug()
S
64 2 9
get_instance()
S
70 2 7
requires_global_settings()
S
73 1 6
shopgs_ajax_variation_threshold()
S
82 1 3